package com.spa.infrastructure.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class EnvUtil {

    @Value("${env}")
    private String env;

    public boolean isTest() {
        return env.equals("test");
    }

    public boolean isProd() {
        return env.equals("prod");
    }
}
